package com.huahai.service.impl;

import com.huahai.entity.Order;
import com.huahai.mapper.OrderMapper;
import com.huahai.service.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService implements IOrderService {

    @Autowired
    OrderMapper mapper;
    public int save(Order order) {
        int insert = mapper.insert(order);
        return insert;
    }
}
